package com.it.jzs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import javafx.scene.control.Tab;
import lombok.Data;

@Data
@TableName("t_blog_user_thumbs")
public class BlogUserThumbs {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer blogId;
    private Integer userId;
    private Long createTime;
    private String userName;
    private String blogTitle;
    private int isDeleted;
    private int flag;  // 1表示点过了，插入一条设为0，点过了设为1，就不查数据展示到首页
    @TableField(exist = false)
    private String formatTime;
    @TableField(exist = false)
    private String avatar;
//    @TableField()
}
